package com.xjggb.cloud;

import com.xjggb.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

@SpringBootApplication
@EnableEurekaClient  // 开启eureka客户端
//@RibbonClient(name = "CLOUD-PROVIDER-PAYMENT8001",configuration = MySelfRule.class)  //name 微服务名  configuration 配置类名

public class Consumer80 {
    public static void main(String[] args) {

        SpringApplication.run(Consumer80.class,args);

    }
}
